package com.tyk.bookstore.front.member.service;


import com.tyk.bookstore.front.member.model.dto.Member4CommentDto;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

/**
 * @author tyk
 * @description 会员对内暴露接口
 */
public interface MemberApiService {
    /**
     * 扣减会员账户金额
     */
    void deductAmount(Long memberId, String paymentPassword, BigDecimal deduction);

    void increaseAmount(Long memberId, BigDecimal increase);

    String getMemberNameById(Long memberId);

    /**
     * 会员名称
     */
    List<Member4CommentDto> getMember4CommentDtoListByIdSet(Set<Long> idList);
}
